<?php

class Kd_Util_Enviroment {

    public static function getPhpVersion(){
        return PHP_VERSION;
    }

    public static function isPhp52(){
        return substr(PHP_VERSION, 2, 1) == '2';
    }

    public static function isPhp53(){
        return substr(PHP_VERSION, 2, 1) == '3';
    }

    public static function getMagicQuotesGpc(){
        return get_magic_quotes_gpc();
    }
}